﻿<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:Channel9Kinect="clr-namespace:Channel9Kinect" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:KinectExtensions_Interactivity="clr-namespace:KinectExtensions.Interactivity;assembly=KinectExtensions" x:Class="Channel9Kinect.Wall" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Title="Wall">

	<Page.Resources>
		<Channel9Kinect:WallViewModel x:Key="wallvm" />
	</Page.Resources>

	<Grid Width="1024" Height="768" DataContext="{StaticResource wallvm}">
		<Rectangle Width="1024" Height="768" Stretch="Fill">
			<Rectangle.Fill>
				<LinearGradientBrush StartPoint="0.417188,-0.0851852" EndPoint="0.417188,1.02593">
					<GradientStop Color="#FF018396" Offset="0.224638" />
					<GradientStop Color="#FF005966" Offset="0.768116" />
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
		<Grid HorizontalAlignment="Left" Height="92.974" Margin="100,32,0,0" VerticalAlignment="Top" Width="92.973" Background="#00000000">

			<i:Interaction.Triggers>
				<i:EventTrigger EventName="MouseLeftButtonDown">
					<i:InvokeCommandAction Command="{Binding Back}" />
				</i:EventTrigger>
				<KinectExtensions_Interactivity:KinectDelayActionTrigger IsMagneticZone="True">
					<i:InvokeCommandAction Command="{Binding Back}" />
				</KinectExtensions_Interactivity:KinectDelayActionTrigger>
			</i:Interaction.Triggers>

			<Canvas Margin="0,0,-0.001,0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Height="70.858" Width="70.858">
				<Canvas.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.7" ScaleY="0.7" />
						<SkewTransform />
						<RotateTransform />
						<TranslateTransform />
					</TransformGroup>
				</Canvas.RenderTransform>
				<Ellipse Width="68.9736" Height="68.9736" Canvas.Left="-6.10352e-005" Canvas.Top="0" Stretch="Fill" StrokeThickness="5" StrokeLineJoin="Round" Stroke="#FFFFFFFF" />
				<Path Width="36.9079" Height="27.292" Canvas.Left="14.9853" Canvas.Top="19.9265" Stretch="Fill" Fill="#FFFFFFFF" Data="F1 M 27.4573,30.148L 38.2931,19.9265L 29.4809,19.9265L 14.9853,33.604L 29.4178,47.2184L 38.2271,47.2184L 27.4573,37.0571L 51.8932,37.0571L 51.8932,30.148L 27.4573,30.148 Z " />
			</Canvas>

		</Grid>

		<Channel9Kinect:PagedList x:Name="list" ItemCommand="{Binding PlayItem}" DefaultImage="{Binding DefaultImage}" FeedUri="{Binding FeedUri}" />
		<TextBlock TextAlignment="Left" Foreground="White" FontFamily="Segoe UI" FontSize="60" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="226,32,0,0" d:LayoutOverrides="HorizontalAlignment" ><Run Language="fr-fr" Text="Videos"/></TextBlock>
	</Grid>
</Page>